package com.baosight.risk.service.rifi.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIFI_RISK_FINISH
 * 重点风险项目结题
 */
@Data
@ApiModel
@Table(name = "T_RIFI_RISK_FINISH")
public class RifiRiskFinish extends BaseEntity {

    /**
     * 重点风险ID
     * <p>
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    IMPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("重点风险ID")
    @Column(name = "IMPORT_GUID")
    private String importGuid;

    /**
     * 风险点ID
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    RISK_ID
     * Nullable:  false
     */
    @ApiModelProperty("风险点ID")
    @Column(name = "RISK_ID")
    private String riskId;

    /**
     * 初始目标完成情况
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    FINISH_DESC
     * Nullable:  true
     */
    @ApiModelProperty("初始目标完成情况")
    @Column(name = "FINISH_DESC")
    private String finishDesc;

    /**
     * 制度及编号
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    INSTITUTION
     * Nullable:  true
     */
    @ApiModelProperty("制度及编号")
    @Column(name = "INSTITUTION")
    private String institution;

    /**
     * 风险档案编号
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    RISK_REPORT
     * Nullable:  true
     */
    @ApiModelProperty("风险档案编号")
    @Column(name = "RISK_REPORT")
    private String riskReport;

    /**
     * 项目情况概述
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    TEAM_DESC
     * Nullable:  true
     */
    @ApiModelProperty("项目情况概述")
    @Column(name = "TEAM_DESC")
    private String teamDesc;

    /**
     * 部门领导
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    FINISH_LEAD_CODE
     * Nullable:  true
     */
    @ApiModelProperty("部门领导")
    @Column(name = "FINISH_LEAD_CODE")
    private String finishLeadCode;

    /**
     * 部门领导
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    DEPT_LEAD_NAME
     * Nullable:  true
     */
    @ApiModelProperty("部门领导")
    @Column(name = "DEPT_LEAD_NAME")
    private String deptLeadName;

    /**
     * 部门意见
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    DEPT_ADVICE
     * Nullable:  true
     */
    @ApiModelProperty("部门意见")
    @Column(name = "DEPT_ADVICE")
    private String deptAdvice;

    /**
     * 部门审批时间
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    DEPT_ADVICE_DATE
     * Nullable:  true
     */
    @ApiModelProperty("部门审批时间")
    @Column(name = "DEPT_ADVICE_DATE")
    private Date deptAdviceDate;

    /**
     * 重点风险项目管理能力测评结果
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ASSESS_DESC
     * Nullable:  true
     */
    @ApiModelProperty("重点风险项目管理能力测评结果")
    @Column(name = "ASSESS_DESC")
    private String assessDesc;

    /**
     * 验证结论
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ASSESS_RESULT
     * Nullable:  true
     */
    @ApiModelProperty("验证结论")
    @Column(name = "ASSESS_RESULT")
    private String assessResult;

    /**
     * 评测总分
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ASSESS_VALUE
     * Nullable:  true
     */
    @ApiModelProperty("评测总分")
    @Column(name = "ASSESS_VALUE")
    private BigDecimal assessValue;

    /**
     * 评审组意见
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    TEAM_ADVICE
     * Nullable:  true
     */
    @ApiModelProperty("评审组意见")
    @Column(name = "TEAM_ADVICE")
    private String teamAdvice;

    /**
     * 部门审批时间
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    TEAM_ADVICE_DATE
     * Nullable:  true
     */
    @ApiModelProperty("部门审批时间")
    @Column(name = "TEAM_ADVICE_DATE")
    private Date teamAdviceDate;

    /**
     * 评测审批领导
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ASSESS_LEAD_CODE
     * Nullable:  true
     */
    @ApiModelProperty("评测审批领导")
    @Column(name = "ASSESS_LEAD_CODE")
    private String assessLeadCode;

    /**
     * 评测审批领导
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ASSESS_LEAD_NAME
     * Nullable:  true
     */
    @ApiModelProperty("评测审批领导")
    @Column(name = "ASSESS_LEAD_NAME")
    private String assessLeadName;

    /**
     * 评测审批领导意见
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ASSESS_LEAD_ADVICE
     * Nullable:  true
     */
    @ApiModelProperty("评测审批领导意见")
    @Column(name = "ASSESS_LEAD_ADVICE")
    private String assessLeadAdvice;

    /**
     * 评测审批时间
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ASSESS_ADVICE_DATE
     * Nullable:  true
     */
    @ApiModelProperty("评测审批时间")
    @Column(name = "ASSESS_ADVICE_DATE")
    private Date assessAdviceDate;

    /**
     * 项目结题填报日期
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    EDIT_DATE
     * Nullable:  true
     */
    @ApiModelProperty("项目结题填报日期")
    @Column(name = "EDIT_DATE")
    private Date editDate;

    /**
     * 备注
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    REMARK
     * Nullable:  true
     */
    @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private  Integer rowOrder;

    /**
     * 风险名称
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    RISK_NAME
     * Nullable:  true
     */
    @ApiModelProperty("风险名称")
    @Column(name = "RISK_NAME")
    private  String riskName;
    /**
     * 风险描述
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    RISK_DESC
     * Nullable:  true
     */
    @ApiModelProperty("风险描述")
    @Column(name = "RISK_DESC")
    private  String riskDesc;
    /**
     * 流程是否結束
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    RISK_DESC
     * Nullable:  true
     */
    @ApiModelProperty("风险描述")
    @Column(name = "IS_FINISH")
    private  Integer isFinish;
    /**
     * 项目单位
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    RISK_DESC
     * Nullable:  true
     */
    @ApiModelProperty("项目单位")
    @Column(name = "COMP_CODE")
    private  String compCode;

    /**
     * 项目单位名称
     * <p>
     * Table:     T_RIFI_RISK_FINISH
     * Column:    RISK_DESC
     * Nullable:  true
     */
    @ApiModelProperty("项目单位名称")
    @Column(name = "COMP_NAME")
    private  String compName;

    /**
     * 重点风险结题状态
     * <p>
     * Table:     T_RIIM_RISK_IMPORT
     * Column:    FINISH_STATUS
     * Nullable:  true
     */
    @ApiModelProperty("重点风险结题状态")
    @Column(name = "FINISH_STATUS")
    private String finishStatus;

    /**
     * 重点风险结题状态说明
     * <p>
     * Table:     T_RIIM_RISK_IMPORT
     * Column:    FINISH_STATUS_NAME
     * Nullable:  true
     */
    @ApiModelProperty("重点风险结题状态说明")
    @Column(name = "FINISH_STATUS_NAME")
    private String finishStatusName;

    /**
     * 管理单位编码
     */
    @Column(name = "MANAGE_COMP_CODE")
    private String manageCompCode;
    /**
     * 管理单位名称
     */
    @Column(name = "MANAGE_COMP_NAME")
    private String manageCompName;
}